﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Navigation;
using Microsoft.Phone.Controls;
using Microsoft.Phone.Shell;

namespace Animation
{
    public partial class DragDropPage : PhoneApplicationPage
    {
        public DragDropPage()
        {
            InitializeComponent();
        }

        private void myRect_ManipulationStarted(object sender, System.Windows.Input.ManipulationStartedEventArgs e)
        {
            
        }

        private void myRect_ManipulationDelta(object sender, System.Windows.Input.ManipulationDeltaEventArgs e)
        {
            System.Diagnostics.Debug.WriteLine("X = "+e.DeltaManipulation.Translation.X);
            System.Diagnostics.Debug.WriteLine("Y = " +e.DeltaManipulation.Translation.Y);
            
        }

        private void myRect_ManipulationCompleted(object sender, System.Windows.Input.ManipulationCompletedEventArgs e)
        {
            
        }
    }
}